#include <iostream>
#include <bits/stdc++.h>

using namespace std;
namespace al {
    template<typename T>
    bool cmp(T a, T b) {
        return b > a;
    }
}

int main() {
    int arr[] = {8, 9, 7, 5, 6};
    vector<int> vector1(arr, arr + sizeof(arr) / sizeof(arr[0]));
    sort(vector1.begin(), vector1.end(), al::cmp);
    return 0;
}

